//
//  RWHud.h
//  Alumna
//
//  Created by ray on 2021/11/17.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface RWHUD : NSObject

+ (void)showMessage:(NSString *)text inView:(UIView *)view;
+ (void)showSuccess:(NSString *)text inView:(UIView *)view;
+ (void)showFail:(NSString *)text inView:(UIView *)view;
+ (void)showWarning:(NSString *)text inView:(UIView *)view;

+ (void)showMessage:(NSString *)text;
+ (void)showSuccess:(NSString *)text;
+ (void)showFail:(NSString *)text;
+ (void)showWarning:(NSString *)text;

+ (void)showLoadingInView:(UIView *)view;
+ (void)hiddenLoadingInView:(UIView *)view;

+ (void)showLoading;
+ (void)hiddenLoading;

@end

NS_ASSUME_NONNULL_END
